<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>小米</title>
    <style>
      * {
        font-family: "微软雅黑";
        font-size: 14px;
        padding: 0;
        margin: 0;
      }
      img {
        display: block;
      }
      a {
        text-decoration: none;
      }
      ul {
        list-style: none;
      }
      .wrap {
        width: 1226px;
        margin: 0 auto;
      }
      .clearfix {
        clear: both;
      }
    
      .header-bar {
        background-color: #333;
      }
      .header-inner {
        width: 1226px;
        margin: 0 auto;
      }
      .top-links {
        float: left;
      }
      .top-links li {
        float: left;
        border-right: 1px #424242 solid;
        margin: 14px 0;
      }
      .top-links a {
        color: #9a9898;
        display: block;
        padding: 0 10px;
      }
      .top-links a:hover {
        color: #fff;
      }
      .user-zone {
        float: right;
      }
      .user-zone ul {
        float: right;
      }
      .user-zone ul li {
        float: left;
        margin: 14px 0;
      }
      .user-zone ul li + li {
        border-left: 1px #424242 solid;
      }
      .cart-area {
        width: 120px;
        height: 48px;
        background-color: #424242;
        float: right;
        text-align: center;
        line-height: 48px;
        position: relative;
        color: #9a9898;
      }
      .cart-btn {
        background: url(../img/buy.png) no-repeat 17px center;
        text-indent: 30px;
      }
      .user-zone a {
        color: #9a9898;
        display: block;
        padding: 0 10px;
      }
    
      .primary-nav {
        width: 1226px;
        margin: 0 auto;
      }
      .brand {
        float: left;
        margin-top: 20px;
        width: 240px;
      }
      .brand img {
        float: left;
      }
      .category-links {
        float: left;
      }
      .category-links li {
        float: left;
        margin: 0 16px;
        line-height: 100px;
      }
      .category-links a {
        font-size: 16px;
        color: #333;
      }
      .category-links a:hover {
        color: #ff6700;
      }
      .search-box {
        width: 294px;
        height: 48px;
        border: 1px #e0e0e0 solid;
        float: right;
        margin-top: 25px;
      }
      .search-box .search-icon {
        width: 50px;
        height: 48px;
        border-left: 1px #e0e0e0 solid;
        float: right;
      }
      .search-box .search-icon img {
        margin-left: 17px;
        margin-top: 16px;
      }
      .search-box span {
        float: right;
        font-size: 12px;
        color: #757575;
        margin-top: 14px;
        margin-right: 10px;
        background-color: #eee;
        padding: 3px 5px;
      }
      .search-box span:hover {
        background-color: #ff6700;
        color: #fff;
      }
    
      .hero {
        width: 1226px;
        height: 460px;
        background-color: #fe8729;
        margin: 0 auto 16px;
        position: relative;
        overflow: hidden;
      }
      .banner-pic {
        width: 1226px;
        height: 460px;
      }
      .prev-btn,
      .next-btn {
        position: absolute;
        top: 50%;
        margin-top: -50px;
      }
      .prev-btn {
        left: 236px;
      }
      .next-btn {
        right: 0;
      }
      .side-menu {
        width: 236px;
        height: 440px;
        background-color: rgba(0, 0, 0, 0.4);
        padding-top: 20px;
        position: absolute;
        left: 0;
        top: 0;
      }
      .side-menu li {
        width: 206px;
        height: 43px;
        line-height: 43px;
        padding-left: 30px;
        color: #fff;
        position: relative;
      }
      .side-menu span {
        float: right;
        margin-right: 25px;
      }
      .choose-btn {
        width: 60px;
        height: 24px;
        border: 1px #ff6700 solid;
        text-align: center;
        margin-bottom: 50px;
      }
      .choose-btn a {
        color: #ff6700;
        line-height: 24px;
      }
      .side-menu li.active {
        background-color: #fe8729;
      }
    
      .promo-strip {
        width: 1226px;
        margin: 0 auto 45px;
      }
      .promo-strip .tile-left {
        width: 236px;
        height: 170px;
        background-color: #5f5750;
        float: left;
        margin-right: 14px;
      }
      .promo-strip .tile {
        width: 316px;
        height: 170px;
        float: left;
        margin-right: 14px;
      }
      .promo-strip .tile.highlight {
        background-color: rgb(33, 150, 243);
        box-shadow: 0px 3px 20.79px 0.21px rgba(0, 0, 0, 0.35);
      }
      .featured {
        width: 1226px;
        margin: 0 auto 40px;
      }
      .featured-title {
        float: left;
        width: 1226px;
        font-size: 24px;
        color: #333;
        margin-bottom: 19px;
      }
      .nav-right {
        float: right;
        width: 35px;
        height: 25px;
        border: 1px solid #e0e0e0;
        text-align: center;
        line-height: 25px;
      }
      .nav-left {
        float: right;
        width: 35px;
        height: 25px;
        border-left: 1px solid #e0e0e0;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
        line-height: 25px;
      }
      .featured-grid {
        width: 1226px;
        height: 340px;
        overflow: hidden;
      }
      .card {
        float: left;
        margin-right: 14px;
        width: 234px;
        height: 340px;
        background-color: #fafafa;
        text-align: center;
      }
      .card p {
        margin-top: 230px;
        font-size: 12px;
        color: #333;
      }
      .card .name {
        font-size: 14px;
      }
      .card .price {
        color: #ff6709;
        margin-top: 15px;
      }
    </style>
  </head>
  <body>
    <div class="header-bar">
      <div class="header-inner">
        <ul class="top-links">
          <li style="margin-left: 0; padding: 0"><a href="#">小米网</a></li>
          <li><a href="#">MIUI</a></li>
          <li><a href="#">米聊</a></li>
          <li><a href="#">游戏</a></li>
          <li><a href="#">多看阅读</a></li>
          <li><a href="#">云服务</a></li>
          <li><a href="#">小米网移动版</a></li>
          <li><a href="#">问题反馈</a></li>
          <li style="border: 0"><a href="#">Select Region</a></li>
        </ul>
        <div class="user-zone">
          <div class="cart-area">
            <div class="cart-btn">购物车(0)</div>
          </div>
          <ul>
            <li><a href="#">登录</a></li>
            <li style="border: 0"><a href="#">注册</a></li>
          </ul>
        </div>
      </div>
      <div class="clearfix"></div>
    </div>

    <div class="primary-nav">
      <div class="brand">
        <img src="../img/LOGO.png" /><img src="../img/donghua.gif" />
      </div>
      <ul class="category-links">
        <li><a href="#">小米盒子</a></li>
        <li><a href="#">红米</a></li>
        <li><a href="#">平板</a></li>
        <li><a href="#">电视</a></li>
        <li><a href="#">盒子</a></li>
        <li><a href="#">路由器</a></li>
        <li><a href="#">智能硬件</a></li>
        <li><a href="#">服务</a></li>
        <li><a href="#">社区</a></li>
      </ul>
      <div class="search-box">
        <div class="search-icon"><img src="../img/search.png" /></div>
        <span>平衡车</span>
        <span>小米手机4c</span>
      </div>
      <div class="clearfix"></div>
    </div>

    <div class="hero">
      <div class="next-btn"><img src="../img/arrow_rightbtn01.png" /></div>
      <div class="prev-btn"><img src="../img/arrow_leftbtn01.png" /></div>
      <img class="banner-pic" src="../img/banner01.jpg" />
      <div class="side-menu">
        <ul>
          <li>手机 平板 电话卡<span>&gt;</span></li>
          <li>电视 盒子<span>&gt;</span></li>
          <li>路由器 智能硬件<span>&gt;</span></li>
          <li>移动电源 插线板<span>&gt;</span></li>
          <li>耳机 音箱<span>&gt;</span></li>
          <li>电池 存储卡<span>&gt;</span></li>
          <li>保护套 后盖<span>&gt;</span></li>
          <li>贴膜 其他配件<span>&gt;</span></li>
          <li>米兔 服装<span>&gt;</span></li>
          <li>箱包 其他周边<span>&gt;</span></li>
        </ul>
      </div>
    </div>

    <div class="promo-strip">
      <div class="tile-left"><img src="../img/left.png" /></div>
      <div class="tile">
        <a href="#"><img src="../img/subnav_icon01.png" /></a>
      </div>
      <div class="tile">
        <a href="#"><img src="../img/subnav_icon02.jpg" /></a>
      </div>
      <div class="tile" style="margin-right: 0">
        <a href="#"><img src="../img/subnav_icon03.png" /></a>
      </div>
      <div class="clearfix"></div>
    </div>
    <div class="featured">
      <div class="featured-title">
        小米明星单品
        <div class="nav-right">&gt;</div>
        <div class="nav-left">&lt;</div>
      </div>
      <div class="featured-grid">
        <div
          class="card"
          style="
            border-top: 1px solid #ffac13;
            background: #fafafa url(../img/chazuo.png) center 66px no-repeat;
          "
        >
          <p class="name">小米智能插座 基础版</p>
          <p style="margin-top: 10px; color: #b0b0b6">
            手机远程遥控，让普通电器变智能
          </p>
          <p class="price">49元</p>
        </div>
        <div
          class="card"
          style="
            border-top: 1px solid #83c44e;
            background: #fafafa url(../img/jinghuaqi.png) center 44px no-repeat;
          "
        >
          <p class="name">小米空气净化器2</p>
          <p style="margin-top: 10px; color: #b0b0b6">净化能力高达310m3/h</p>
          <p class="price">699元</p>
        </div>
        <div
          class="card"
          style="
            border-top: 1px solid #2196f3;
            background: #fafafa url(../img/chaban.png) center 97px no-repeat;
          "
        >
          <p class="name">小米智能插线板</p>
          <p style="margin-top: 10px; color: #b0b0b6">
            手机远程控制家中电器，智能节电
          </p>
          <p class="price">69元</p>
        </div>
        <div
          class="card"
          style="
            border-top: 1px solid #e53935;
            background: #fafafa url(../img/erji.png) center 56px no-repeat;
          "
        >
          <p class="name">小米圈铁耳机</p>
          <p style="margin-top: 10px; color: #b0b0b6">动圈+动铁，双发声单元</p>
          <p class="price">69元</p>
        </div>
        <div
          class="card"
          style="
            margin-right: 0;
            border-top: 1px solid #00c0a5;
            background: #fafafa url(../img/luyouqi.png) center 54px no-repeat;
          "
        >
          <p class="name">小米路由器 青春版</p>
          <p style="margin-top: 10px; color: #b0b0b6">
            将高性能路由器，凝聚于掌心大小
          </p>
          <p class="price">79元</p>
        </div>
      </div>
    </div>
  </body>
</html>
